/**
 * Created by 李家伟 on 2019/9/8.
 */
setInterval("test()",1000);
function test ()
{
    var a= new Date();
    document.getElementById("time").innerHTML= a;
}